<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        img{
            position: absolute;
            left: 0px;
  top: 0px;
  z-index: -1;
        }
        .shouye{
            text-decoration: none;
            background: rgb(242, 5, 5);
            color: black;
            transition: 3s;
            display: inline-block;
            top:0;
            text-align: center;
          position: absolute;
      right: 45%;
      
        }
        .shouye:hover{
            background: rgb(234, 106, 9);
            color: rgb(247, 242, 242);
        }
      
        }
        .ll{
            list-style-type: none;
           
        }
        .out{
            background: rgb(10, 10, 10);
            color: aliceblue;
        }
         .out{
        display: inline-block;
        padding: 10px;
        font-size: larger;
        position: relative;
      
       }
        .in{
            display: none;
            position: absolute;
        padding: 10px;
       right: auto;
            z-index: 10;
            min-width: 10px;
       box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        }   
      
       .out:hover{
        background: rgb(247, 7, 7);

       }
       .out:hover .in{
        display: block;
        background: #000;
        color: aliceblue;
        height: 200px;
        overflow: auto;
       }
       .in p{
        padding: 10px;
       }
      .in p:hover{
        background: rgb(143, 231, 10);
        font-size: large;
      }
      .kk{
        margin: 0;
      }
        .fengexian{
        background-color: black;
        z-index: 50;
         width:100%;
        height: 10px;
        animation-name: example;
      animation-duration: 4s;
       animation-iteration-count: infinite;
     
      
      }
      @keyframes example {
  0%   {background-color: red;}
  25%  {background-color: yellow;}
  50%  {background-color: rgb(230, 175, 25);}
  100% {background-color: rgb(231, 106, 17);}
}
      main{
        background-color: rgb(239, 242, 243);
       position: absolute;
        width: 100%;
        top: 700px;
      }
        main .guding{
            position: sticky;
            left: 0;
            top: 0;
            display: block;
            background: #000;
            color: aliceblue;
            text-align: center;
            padding: 15px;
             margin: auto;
        }
        .ce{
           
        list-style-type: none;
       margin: 0;
        padding: 0;
      width: 25%;
      background-color: #f1f1f1;
      position: fixed;
       height: 800px;
      overflow: auto;
    top: 0;
    right: 0;
    z-index: 5;
    }
   
  .ce li{
            display: block;
        padding: 15px;}
       .ce li:hover{
     background-color: aqua;
       }
  
   
    .ooo{
position:relative;
z-index: 10;

height: 500px;

    }
  .juzhong{
    text-align: center;
  }
    </style>
</head>
<body>
    <header>
        <img src="homework/2.webp" width="100%" height="700px" class="imm">
       <h1> <a href="#" class="shouye" >one piece</a></h1>
      
     
       <ul class="ll">
        <li class="out">草帽海贼团
            <div class="in"><p> 路飞</p><p>索隆</p><p>山治</p><p>娜美</p><p>罗宾</p><p>甚平</p><p>弗兰奇<p>乔巴</p>
            <p>布鲁克</p>
        </div>
           
        </li>
        <li class="out">海军
            <div class="in"><p>
                大将
            </p><p>中将</p></div>
        </li>
         <li class="out" >四皇
        <div class="in"><p>凯多</p><p>BIG MOM</p><p>香克斯</p><p>黑胡子</p></div></li>
        <li class="out">其他势力
            <div class="in"><p>
                七武海
            </p><p>？？</p></div>
        </li>
       
       </ul>
       
     
       <div class="fengexian"></div>
    </header>
    <main >





        
        <div id="k">
            <ul class="ce">
                <li class="dierlei">    
                        第一章
                </li>
                <li class="dierlei">
                       第二章  
                </li>
                <li class="dierlei">
                    第三章
                </li>
            </ul> 
           
      
           </div> 
         </div>
        <p class="guding">感谢观看</p>
        
      <div class="juzhong"> <img class="ooo" src="homework/4.webp"  width="50% " ></div>
    </main>
</body>
</html> 